These three scripts are example AppleScripts. They demonstrate how to retrieve information from the IPNetSentry FBA and send email notification or display the trigger information in a text document.
To use a script:
- open the script in a script editor
- follow the instructions as stated in the Description section
The script "IPNS Scriptable TE Example" can be run directly without compiling as a Run-Only application. It will simply query the IPNetRouter FBA and display the last trigger information in a new "Scriptable Text Editor" document window.
The scripts "IPNS OE AppleScript" and "IPNS Eudora AppleScript" require that you use either Outlook Express or Eudora as your email application. Both scripts will enable the IPNetSentry FBA to send you email notification when an intrusion is detected. These scripts MUST be compiled as Run-Only applications and must be placed into your Preferences folder. Your IPNetSentry Config file must also be modified so that it is aware of this new notification method. The two necessary lines in the IPNetSentry Config file are:
#set\notification_type\applescript
#set\applescript_name\My IPNS AppleScript
where "My IPNS AppleScript" is the name of your Run-Only AppleScript application.
You can make these modifications to the IPNetSentry Config file by:
- manually editing with any text editor OR
- using the Configure function in the IPNetSentry Companion Application (which works through your browser).
You must stop and restart the IPNetSentry FBA to invoke the new configuration (this is automatically performed by the IPNetSentry Companion Application if you use our web page to configure IPNetSentry).
These scripts should be considered as basic starting AppleScripts. There are many other features (such as automatic logging into databases) which can be implemented once the triggering information has been obtained from the IPNetSentry FBA. We welcome your contributions and suggestions.